package com.yonyougov.devops.cruxcisupport.enums;
import lombok.Getter;

@Getter
public enum StatusEnum implements BaseEnum {
    Pass("弃用",2),
    Enable("启用",1),
    Disable("停用",0)
    ;
    private String value;
    private int code;
    StatusEnum(String value, int code) {
        this.value = value;
        this.code = code;
    }

    @Override
    public boolean equals(Integer code) {
        return code.equals(this.code);
    }
}
